import React from 'react'
import ReactEcharts from '../../components/ReactEcharts'
import { useSelector } from "react-redux"
export default function Sale() {
  const data = useSelector(state => {
    return state.CountStore
  })
  return (
    <React.Fragment>
      <p>{data.count}</p>
      <ReactEcharts></ReactEcharts>
    </React.Fragment>
  )
}
